.class Lcom/waiqin365/lightapp/deptmanager/e;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method public constructor <init>(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/e;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 13

    const v12, 0x7f080553

    const v11, 0x7f08001d

    const/4 v10, 0x1

    const/4 v9, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/e;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    move-object v7, v0

    check-cast v7, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;

    if-nez v7, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->dismissProgressDialog()V

    iget v0, p1, Landroid/os/Message;->what:I

    sparse-switch v0, :sswitch_data_0

    goto :goto_0

    :sswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object v6, v0

    check-cast v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;

    invoke-virtual {v6}, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->b()Z

    move-result v0

    if-eqz v0, :cond_8

    const-string/jumbo v0, "1"

    iget-object v1, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->a:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/deptmanager/d/a;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    if-eqz v1, :cond_5

    if-eqz v0, :cond_5

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/deptmanager/c/a;->a:Ljava/lang/String;

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/deptmanager/c/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    move v8, v9

    :goto_1
    invoke-static {v7}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    iget-object v1, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->f:Ljava/lang/String;

    iget-object v2, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->g:Ljava/lang/String;

    iget-object v3, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->h:Ljava/lang/String;

    iget-object v4, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->i:Ljava/lang/String;

    iget-object v5, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->j:Ljava/lang/String;

    iget-object v6, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->o:Ljava/lang/String;

    invoke-virtual/range {v0 .. v6}, Lcom/waiqin365/base/db/offlinedata/m;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :goto_2
    if-eqz v8, :cond_6

    const-string/jumbo v0, ""

    invoke-virtual {v7, v0}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/waiqin365/lightapp/deptmanager/f;

    invoke-direct {v1, p0, v7}, Lcom/waiqin365/lightapp/deptmanager/f;-><init>(Lcom/waiqin365/lightapp/deptmanager/e;Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    goto :goto_0

    :cond_1
    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/deptmanager/c/a;->a:Ljava/lang/String;

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/deptmanager/c/a;->a()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, v0}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v1

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/deptmanager/c/a;->a()Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/deptmanager/c/a;->a()Ljava/util/List;

    move-result-object v0

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v2

    invoke-interface {v0, v1, v2}, Ljava/util/List;->add(ILjava/lang/Object;)V

    move v8, v9

    goto :goto_1

    :cond_2
    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/deptmanager/c/a;->a()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/deptmanager/d/a;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/deptmanager/c/a;->a()Ljava/util/List;

    move-result-object v0

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_3
    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/deptmanager/c/a;->a()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_f

    move v8, v10

    goto/16 :goto_1

    :cond_4
    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    if-eqz v0, :cond_5

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    iget-object v1, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->f:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->a:Ljava/lang/String;

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->c(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/deptmanager/c/a;->a()Ljava/util/List;

    move-result-object v0

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {v7}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    iget-object v1, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->f:Ljava/lang/String;

    iget-object v2, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->g:Ljava/lang/String;

    iget-object v3, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->h:Ljava/lang/String;

    iget-object v4, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->i:Ljava/lang/String;

    iget-object v5, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->j:Ljava/lang/String;

    iget-object v6, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->o:Ljava/lang/String;

    invoke-virtual/range {v0 .. v6}, Lcom/waiqin365/base/db/offlinedata/m;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_5
    move v8, v9

    goto/16 :goto_2

    :cond_6
    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Z

    move-result v0

    if-nez v0, :cond_7

    invoke-virtual {v7, v11}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v7, v0, v9}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "reinit_activity"

    invoke-static {v10}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    const-class v3, Lcom/waiqin365/lightapp/deptmanager/DeptEmpManagerActivity;

    invoke-virtual {v0, v1, v2, v3}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    :goto_3
    invoke-virtual {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->back()V

    goto/16 :goto_0

    :cond_7
    invoke-virtual {v7, v12}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v7, v0, v9}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "reinit_activity"

    invoke-static {v9}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    const-class v3, Lcom/waiqin365/lightapp/deptmanager/DeptEmpManagerActivity;

    invoke-virtual {v0, v1, v2, v3}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    goto :goto_3

    :cond_8
    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->e(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    if-eqz v0, :cond_9

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->e(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/deptmanager/c/a;->d:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->d:Ljava/lang/String;

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->e(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->e(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/deptmanager/c/a;->c:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->c:Ljava/lang/String;

    :cond_9
    iget-object v0, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_a

    iget v0, v6, Lcom/waiqin365/lightapp/deptmanager/b/a/s;->a:I

    invoke-static {v7, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_a
    invoke-static {v7, v0, v9}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :sswitch_1
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/deptmanager/b/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/deptmanager/b/a/m;->b()Z

    move-result v1

    if-eqz v1, :cond_c

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/deptmanager/b/a/m;->d:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_c

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/deptmanager/c/a;->b:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/deptmanager/d/a;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v0

    if-eqz v0, :cond_b

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/deptmanager/c/a;->a()Ljava/util/List;

    move-result-object v0

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->b(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Lcom/waiqin365/lightapp/deptmanager/c/a;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    :cond_b
    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "reinit_activity"

    invoke-static {v9}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    const-class v3, Lcom/waiqin365/lightapp/deptmanager/DeptEmpManagerActivity;

    invoke-virtual {v0, v1, v2, v3}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    invoke-virtual {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->back()V

    goto/16 :goto_0

    :cond_c
    iget-object v1, v0, Lcom/waiqin365/lightapp/deptmanager/b/a/m;->e:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_d

    const v1, 0x7f08013b

    invoke-virtual {v7, v1}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    iget v0, v0, Lcom/waiqin365/lightapp/deptmanager/b/a/m;->a:I

    invoke-static {v7, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_d
    invoke-static {v7, v1, v9}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :sswitch_2
    invoke-virtual {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->dismissProgressDialog()V

    invoke-static {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->a(Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;)Z

    move-result v0

    if-nez v0, :cond_e

    invoke-virtual {v7, v11}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v7, v0, v9}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "reinit_activity"

    invoke-static {v10}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    const-class v3, Lcom/waiqin365/lightapp/deptmanager/DeptEmpManagerActivity;

    invoke-virtual {v0, v1, v2, v3}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    :goto_4
    invoke-virtual {v7}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->back()V

    goto/16 :goto_0

    :cond_e
    invoke-virtual {v7, v12}, Lcom/waiqin365/lightapp/deptmanager/DMAddDeptActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v7, v0, v9}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "reinit_activity"

    invoke-static {v9}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    const-class v3, Lcom/waiqin365/lightapp/deptmanager/DeptEmpManagerActivity;

    invoke-virtual {v0, v1, v2, v3}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    goto :goto_4

    :cond_f
    move v8, v9

    goto/16 :goto_1

    :sswitch_data_0
    .sparse-switch
        0x5 -> :sswitch_0
        0x6 -> :sswitch_1
        0x3e8 -> :sswitch_2
    .end sparse-switch
.end method
